WooCommerce\Square\Handlers\Sync A

Total Complexity 59
Dependencies 6
Dependents 1
Total lines 481
Lines of code 176
Logical lines of code 80
Comment lines 188
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
get_sync_date_time()
S
52 7 25
schedule_sync()
S
62 6 10
start_interval_sync()
S
58 4 17
start_manual_sync()
S
59 4 16
get_job_in_progress()
S
63 5 9
record_sync()
S
59 4 15
start_manual_deletion()
S
60 3 15
start_product_import()
S
61 3 14
is_sync_in_progress()
S
74 3 4
set_inventory_last_synced_at()
S
69 3 6
get_next_sync_at()
S
68 3 7
set_last_synced_at()
S
69 3 6
get_inventory_last_synced_at()
S
74 2 4
get_last_synced_at()
S
74 2 4
__construct()
S
72 1 5
is_sync_enabled()
S
81 1 3
add_hooks()
S
75 1 4
should_sync_in_background()
S
78 1 3
unschedule_sync()
S
79 1 3
get_sync_schedule_interval()
S
78 1 3
get_plugin()
S
82 1 3